<?php


namespace app\controller;
use think\annotation\Route;
//注解路由也支持分组
use think\annotation\route\Group;

/**
 * Class NewAddress
 *
 * @package app\controller
 *
 */
//@Group("ADS")
class NewAddress
{
    /**
     * @param int $id
     *
     * @return string
     * @route("na/:id",ext="html",method="GET",https=0)
     */
    public function index($id = 3){
        return 'index:'.$id;
    }

}